package model;
public class Product
{
   private String barcode;
   private String location;
   private String name;
   protected static double price;
  public Product(String barcode, String location,String name,double price)
  {
      this.barcode=barcode;
      this.location=location;
      this.name=name;
      this.price=price;
  }
  public void setBarcode(String newBarcode)
  {
    this.barcode=newBarcode;  
  }
  public String getBarcode()
  {
   return barcode; 
  }
  public void setLocation(String newLocation)
  {
      this.location=newLocation;
    }
  public String getLocation()
  {
   return location ;
  }
  
 public void setName(String name){
    this.name=name;
    }
 public String getName(){
    return name;
    }
    public void setPrice(double price){
    
    }
    public double getPrice(){
    return price;
    }
}